package com.aaa.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="tb_user")
public class TbUser {
    @Id // 设置数据库对应的主键
    private Integer id;
    private String name;
}
